package com.cloudkinto.vo.wr;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class QsPageVo {
    private Long id;

    @ApiModelProperty("报价方案名称 审核通过 就不能修改了")
    private String quotationName;

    @ApiModelProperty("类型 0应收 1应付")
    private Integer quotationType;

    @ApiModelProperty("仓库")
    private Long storageId;

    @ApiModelProperty("仓库编码")
    private String whCode;

    @ApiModelProperty("仓库名称")
    private String whNameCn;

    @ApiModelProperty("生效时间  yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone = "GMT+9")
    private Date effectiveTime;
    @ApiModelProperty("币种")
    private String currencyCode;


    @ApiModelProperty("失效时间 yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone = "GMT+9")
    private Date invalidTime;

    @ApiModelProperty("tips")
    private String tips;
    @ApiModelProperty("状态 0 草稿 1已审核 2已废弃")
    private Integer status;

    private Date createTime;

    private String createByName;

    private Date updateTime;

    private String updateByName;
    @ApiModelProperty("客户")
    private List<QsCustomerEtVo> customers;

}
